<?php

namespace app\api\controller;

use app\api\model\Member;
use app\common\controller\Frontend;

class User extends Frontend
{
    protected array $noNeedLogin = [];


    public function initialize(): void
    {
        parent::initialize();
    }


    public function getUser()
    {
       return json((new Member())->getUser($this->request_array));
    }


    public function idNamePhone(){
        return json((new Member())->idNamePhone($this->request_array));
    }


    public function updateUser(){
        return json((new Member())->updateUser($this->request_array));

    }
}